<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/3/27
  Time: 14:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../../../common/web_top.jsp" %>

<div class="bgSortScroll">
    <div class="public-bgContent" ng-init="load()">
        <div class="public-bghint">
            <span ng-click="show('caozuo')" style="cursor: pointer;">提示操作</span>
            <i class="iconfont icon-icon-copy-copy"></i>
            <span class="calNum">筛选<span class="" id="total">{{total}}</span>条结果</span>
        </div>
        <ul class="public-ulList set-listH" ng-show="clientShow.caozuo">
            <li>显示拥有该栏目管理权限的数据；</li>
            <li>拥有权限的管理员会显示对应的操作按钮；</li>
        </ul>
        <div style="height: 20px;"></div>
        <div class="table-scroll">
            <table class="table public-table PoInput">

                <tbody id="htmlbody">
                <thead>
                <tr class="tr1" data-type="true" data-has-child="true" data-focus="false">
                    <td>选择</td>

                    <%--<td >  <span style="float: left;margin-left: 200px;"> 资方名称</span>
                        <span style="float: right"> 资方描述 </span>
                    </td>--%>
                    <td>资方名称</td>
                    <td>资方描述</td>


                    <td>操作<%--<span style="visibility: hidden"   class="_blue edit_attach">删除</span>--%></td>

                </tr>
                </thead>
                <tbody id="escrowSet_content">


                </tbody>
                <tfoot class="public-botPage">

                <tr>


                    <td colspan="18">
                        <%--//--%>
                        <div class="public-botPage-left " style="padding-left: 15px" ng-if="operation.batch">
                            <label id="ch_id_all">
                                &nbsp;&nbsp;&nbsp;<input id="checkAllOrNot" type="checkbox" name="ch_id_all">
                                &nbsp;全选
                            </label>
                            <div class="se-re">
                                <select class="supportc ng-pristine ng-untouched ng-valid ng-not-empty all_delectList"
                                        ng-model="selectType.default" ng-change="F.selectQuery('supportc','ch_id')">
                                    <option value="-1" selected="selected">批量操作</option>
                                    <option ng-if="HbHr.hr182" value="1" path="client" params="beBlack" class="">删除所选
                                    </option><!-- end ngIf: HbHr.hr182 -->
                                </select>
                                <span class="se-po"></span>
                            </div>

                            <button ng-if="HbHr.hr206" class="addBut tabHint _red" data-attr="addSection"
                                    data-type="{{type}}"
                                    data-conp="{{role_name}}"
                                    data-id="{{id}}">添加资方
                            </button>

                        </div>

                        <%--//--%>

                        <div class="page-container page-container-escrow product-page-container"
                             style="float: right; padding: 15px 30px;"></div>

                    </td>
                </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>

<%--新增弹框--%>

<div class="winBox addwinBox" style="display: none;">
    <!-- 加载弹窗盒子容器 -->
    <!-- ngInclude: box -->
    <div class="winBox1 " ng-include="box">
        <div class="winBox2 ">
            <remarksadmin><!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan  addAndEdit_title">新增资方</span>
                    <i class="iconfont icon-wrong headerIcon"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->
                    <div class="public-bgDate">
                        <span style="color: black;">名称：</span>
                        <span>
			<input type="text" autocomplete="off" id="inputNames" placeholder="请输入名称" ng-focus="remHight()"
                   ng-model="param.name" class="ng-pristine ng-untouched ng-valid ng-empty add_attach_name">
		</span>
                        <br> <br>
                    </div>

                    <div class="beizhu newAndEditLog_content"><span style="color: red;">*</span>描述:</div>
                    <textarea class="delect_reason add_content" data-tag="textLength" showtag="zishuxians"></textarea>
                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div class="deleBtn">
                            <button class="add_commit">确定提交</button>
                        </div>
                        <div class="zishu">
                            <i id="">120</i>字
                        </div>
                    </div>
                </div>

            </remarksadmin>
        </div>
    </div>
</div>
<%--删除弹框--%>
<div class="winBox delectwinBox" style="display: none;">

    <div class="winBox1 " ng-include="box">
        <div class="winBox2 ">
            <remarksadmin><!-- 头部 -->
                <div class="headerBox">
                    <span class="headerSpan ">删除资方</span>
                    <i class="iconfont icon-wrong headerIcon" ng-click="F.showWin('hide')"></i>
                </div>
                <!-- 内容 -->
                <div class="deleBox">
                    <!-- 中间列表 -->
                    <div class="deleteTit">
                        <i class="iconfont icon-tips2"></i>
                        <span class="">您确定要删除所选的用户吗？</span>
                    </div>
                    <div class="beizhu"><span>*</span>输入原因：</div>
                    <textarea ng-focus="remHight()" ng-class="{'error':redErr.reason}" ng-model="param.reason"
                              data-tag="textLength" showtag="zishuxians"
                              class="ng-pristine ng-untouched ng-valid ng-empty ng-valid-maxlength"></textarea>
                    <!-- 底部 -->
                    <div class="deleFooter">
                        <div id="delect_commit" class="deleBtn">
                            <button ng-click="btn()">确定提交</button>
                            <%--<button ng-click="F.showWin('hide')">取消</button>--%>
                        </div>
                    </div>
                </div>

            </remarksadmin>
        </div>
    </div>
</div>
<script type="x-handlebars-template" id="escrowSet_content_tpl">
    {{#if content.list}}
    {{#each content.list}}
    <tr class="tr1" data-type="true" data-has-child="true" data-focus="false">
        <td><input type="checkbox" name="ch_id" value="{{id}}"></td>

        <%--<td><span style="float: left;margin-left: 200px;">  {{management_name}}</span>
            <span style="float: right"> {{remark}} </span>
        </td>--%>
        <td>{{management_name}}</td>
        <td>{{remark}}</td>


        <td>
            <%--<span ng-if="HbHr.hr206" class="_blue editBtn" data-attr="addSection" data-type="{{type}}"
                  data-conp="{{management_name}}" data-productid="{{product_id}}"  data-remarks="{{remark}}"
                  data-id="{{id}}">修改资方</span>
<span ng-if="HbHr.hr206" class="_red delectBtn" data-attr="addSection" data-type="{{type}}"
data-conp="{{type_name}}" data-productid="{{product_id}}"  data-remarks="{{remarks}}"
data-id="{{id}}">删除资方</span>--%>
            <button class="editBtn tabHint btnQuery746" data-attr="addSection" data-type="{{type}}"
                    data-conp="{{management_name}}" data-productid="{{product_id}}" data-remarks="{{remark}}"
                    data-id="{{id}}" style="background: #29335C !important;">
                修改资方
            </button>
            <button data-attr="addSection" data-type="{{type}}"
                    data-conp="{{management_name}}" data-productid="{{product_id}}" data-remarks="{{remark}}"
                    data-id="{{id}}" class="delectBtn tabHint btnQuery746">
                删除资方
            </button>
        </td>

    </tr>
    {{/each}}
    {{else}}
    <tr ng-if="data.content.list.length ==0" class="">
        <td colspan="16">暂时找不到数据</td>
    </tr>
    {{/if}}

</script>
<script type="text/javascript" src="static/js/page/set/systemSet/escrowSet/escrowSet.js?_v=190102162154"></script>
<script type="text/javascript" src="static/js/jquery-plugin/jpager.js?_v=190102162154"></script>
<%@ include file="../../../common/web_bottom.jsp" %>